package by.semerikov.generator;

import java.util.Random;
 

import by.semerikov.generator.properties.Property;
import by.semerikov.parts.RequestLine;

public class RequestLineGenerator  {

	public RequestLine generate(Property prop) {
		RequestLine result;
		Random r = new Random();
		if(r.nextBoolean())
			result = new RequestLine("GET", "/directory1/directory2/index.jsp");
		else result = new RequestLine("POST", "/directory1/directory2/index.jsp");
		return result;
	}

}
